package creational.builder;


public class GirlBuilder implements ChildBuilder{
	
	public Child child;
	
	public GirlBuilder(){
		child= new Girl();
	}
	

	public void setChild(Child child) {
		this.child = child;
	}

	public void buildHair() {
		child.setHair(new Hair("黑色","辫子"));
	}

	public void buildHead() {
		child.setHead(new Head("蓝色","大鼻孔"));
	}

	public void buildBody() {
		child.setBody(new Body(120,"超级大胖子"));
	}


	public Child getChild() {
		return child;
	}
	
}
